<template>
  <div class="bg">
    {{ props.bgText }}
    <div>{{ props.title }}</div>
  </div>
</template>
<script>
export default {
  name: "BgTextTitle",
  props: {
    bgText: String,
    title: String
  }
};
</script>
<style scoped>
.bg {
  position: relative;
  text-align: center;
  /* width: fit-content;
    min-width: v-bind(minW); */
  font-size: 48px;
  color: #f0f6ff;
  font-family: Microsoft YaHei;
  font-weight: bold;
  line-height: 1em;
  user-select: none;
}
.bg > div {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: #333;
  font-size: 30px;
  line-height: 1em;
  user-select: text;
}
</style>
